package com.sleep.psy.external_server.business.resourse.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 试题表
 * </p>
 *
 * @author wenliguo
 * @since 2025-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class QuestMain implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("课程id")
    private Integer cuId;

    @ApiModelProperty("问卷调查题目")
    private String questTitle;

    @ApiModelProperty("问题所属类型")
    private Integer questType;

    @ApiModelProperty("排序")
    private String sort;

    @ApiModelProperty("删除标记 0否 1是")
    private Integer delFlag;

    @ApiModelProperty("问题类型：1:单选  2:多选  3:1个输入框  4:2个输入框  ")
    private String itemType;

    @ApiModelProperty("问题提纲")
    private String questStart;

    @ApiModelProperty("问题尾部")
    private String questEnd;

    @ApiModelProperty("获取答案")
    @TableField(exist = false)
    private List<QuestAnswer> answerList;

}
